# Question:how to call dsolve with _homogeneous, `class G` method?

## Question:how to call dsolve with _homogeneous, `class G` method?

Maple 2023

Maple dsolve allows one to specify the algorithm to use to solve the ode. But sometimes it is very tricky to figure the syntax,

This ode

```ode:=diff(y(x),x)*y(x)+a*x*y(x)+b*x^3=0;
```

Gives

[[_homogeneous, `class G`], _rational, [_Abel, `2nd type`, `class A`]]

I wanted now to call dsolve telling dsolve to use the first method above. But how? All the following syntax failed for me

```sol:=dsolve(ode,['_homogeneous, `class G`']);
sol:=dsolve(ode,'[_homogeneous, `class G`]');
```

I am sure I am using wrong syntax but do not know what the correct one should be.

```infolevel[dsolve]:=5;
sol:=dsolve(ode);

```

gives

```Methods for first order ODEs:
--- Trying classification methods ---
trying 1st order linear
trying Bernoulli
trying separable
trying inverse linear
trying homogeneous types:
trying homogeneous G
<- homogeneous successful
```

With long solution printed now OK.

When using just '[homogeneous]' it works

```sol:=dsolve(ode,'[homogeneous]');
```

It gives same solution as default case.

What is the correct syntax to tell dsolve to use specific method [_homogeneous, `class G`] ? i.e. I need to add class G

The reason I ask is becuase Maple have different kind of homogeneous method as described here

Maple 2023.2.1 on windows 10

﻿