# Thread:

1. ## Help required...

Q. $(2x + y)dy - (4x +2y -1)dy = 0$

After using $Z = 2x +y$, I got the answer,

$c = 2y -ln(2x + y)$

However, its very different from the answer at the back of the book. I have checked and rechecked but ended up with the same wrong answer.

2. Originally Posted by Altair
Q. $(2x + y){\color{red}dy} - (4x +2y -1){\color{blue}dy} = 0$

Mr F says: You have two dy's here. I'm guessing one of them is meant to be a dx. Which one - the red or the blue?

After using $Z = 2x +y$, I got the answer,

$c = 2y -ln(2x + y)$

However, its very different from the answer at the back of the book. I have checked and rechecked but ended up with the same wrong answer.
..

3. The red one.

4. Originally Posted by Altair
The red one.
$\frac{dy}{dx} = \frac{2x + y}{4x + 2y - 1}$.

Substitute $z = 2x + y \Rightarrow y = z - 2x$. Then $\frac{dy}{dx} = \frac{dz}{dx} - 2$.

Therefore:

$\frac{dz}{dx} - 2 = \frac{z}{2z - 1}$

$\frac{dz}{dx} = \frac{z}{2z - 1} + 2 = \frac{5z - 2}{2z - 1}$

$\Rightarrow \frac{dx}{dz} = \frac{2z - 1}{5z - 2} = \frac{1}{5} \, \left( 2 - \frac{1}{5z - 2}\right)$.

Therefore:

$x = \frac{1}{5} \, \left( 2z - \frac{1}{5} \ln |5z - 2| + C \right)$

$\Rightarrow 5x = 2z - \frac{1}{5} \ln |5z - 2| + C$

$\Rightarrow 5x = 2(2x + y) - \frac{1}{5} \ln |5(2x + y) - 2| + C$.

I'll leave to you to take it as further as necessary.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 15, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9725241661071777, "perplexity_flag": "middle"}