---
title: "Solve xy(p²+2)=2py³+x³"
subject: "Mathematics I"
chapter: 4
key: "semester_1/mathematics_i:de-xy-p2-plus-2"
source: https://www.bctengineer.com/q/semester_1/mathematics_i/de-xy-p2-plus-2
site: BCT Engineering
---

# Solve xy(p²+2)=2py³+x³

Mathematics I · Chapter 4: Ordinary Differential Equations and their Applications

- Asked in: 2069 Asar
- Video: [xy^2(p^2+2)=2py^3+x^3 #Solvableforp #DifferentialEquations L438](https://www.youtube.com/watch?v=kc_EqorqMqQ) — Maths Pulse - Chinnaiah Kalpana
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_1/mathematics_i/de-xy-p2-plus-2
- Whole chapter: https://www.bctengineer.com/md/semester_1/mathematics_i/chapter-4

## Question

Find the general solution of the differential equation xy(p²+2) = 2py³ + x³.

## Short answer

The intended equation xy(p²+2) = p(x²+2y²) factorises as (py−x)(px−2y)=0. Solutions are y² = x² + c and y = cx². Combined general solution: (y²−x²−c)(y−cx²)=0.

## Answer

**Note:** the equation as printed, xy(p² + 2) = 2py³ + x³, does not factorise. The standard textbook equation it appears to come from is xy(p² + 2) = p(x² + 2y²), with p = dy/dx, whose right side was garbled in the scan. This evident intended version is solved here.

#### Factorise
xy p² + 2xy − p(x² + 2y²) = 0

xy p² − (x² + 2y²)p + 2xy = 0

(py − x)(px − 2y) = 0

(Check: expanding gives p²xy − 2py² − px² + 2xy ✓.)

#### Case 1: py − x = 0
y dy/dx = x → y dy = x dx → y² = x² + c

**y² − x² = c**

#### Case 2: px − 2y = 0
dy/y = 2 dx/x → ln y = 2 ln x + ln c

**y = cx²**

#### General solution
**(y² − x² − c)(y − cx²) = 0**, where c is an arbitrary constant (the same symbol is used for both factors, as is usual for such products).

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. The equation factorises as:
   A. (py - x)(px - 2y) = 0
   B. (p - x)(p - 2y) = 0
   C. (py + x)(px + 2y) = 0
   D. (px - y)(py - 2x) = 0
   Answer: A. Expanding gives p^2 xy - 2py^2 - px^2 + 2xy. (Key point: Factorisation)

2. py - x = 0 gives:
   A. y^2 - x^2 = c
   B. y^2 + x^2 = c
   C. y = cx^2
   D. y = cx
   Answer: A. y dy = x dx. (Key point: Case 1)

3. px - 2y = 0 gives:
   A. y^2 = cx
   B. y = cx^2
   C. y = cx^(1/2)
   D. y = c/x^2
   Answer: B. dy/y = 2dx/x so y = cx^2. (Key point: Case 2)

## Close variants set in other exams

- [Solve p³−4xyp+8y²=0](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-p3-4xyp-8y2) — Mathematics I, chapter 4, asked 2×
- [Solve (D²+2D+1)y=eˣ cos x](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-d2-2d-1-ex-cosx) — Mathematics I, chapter 4, asked 2×

## Related in Mathematics I

- [Solve x dy/dx + y log y = xy eˣ](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-x-dy-dx-y-log-y) — Mathematics I, chapter 4, asked 4×
- [Solve x²y''−xy'+2y=x log x](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-cauchy-x2y2-minus-xy1-plus-2y-x-log-x) — Mathematics I, chapter 4, asked 4×
- [Solve x²y''+xy'−4y=x²](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-cauchy-x2y2-plus-xy1-minus-4y) — Mathematics I, chapter 4
- [Solve x²y''−xy'+y=log x](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-cauchy-x2y2-minus-xy1-plus-y-log-x) — Mathematics I, chapter 4, asked 2×
- [Solve (1+y²)+(x−e^(tan⁻¹y))dy/dx=0](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-1-plus-y2-x-minus-e-atan-y) — Mathematics I, chapter 4, asked 6×
- [Solve dy/dx = y/x + tan(y/x)](https://www.bctengineer.com/question.md?key=semester_1%2Fmathematics_i%3Ade-dy-dx-y-over-x-tan) — Mathematics I, chapter 4, asked 6×

## Related in other subjects

- [Solve a partial differential equation](https://www.bctengineer.com/question.md?key=semester_3%2Fmathematics_iii%3Asolve-a-partial-differential-equation) — Mathematics III, chapter 4
- [Solve a partial differential equation](https://www.bctengineer.com/question.md?key=semester_3%2Fmathematics_iii%3Asolve-a-partial-differential-equation-two) — Mathematics III, chapter 4
- [Power series solution of y''+xy'+y=0](https://www.bctengineer.com/question.md?key=semester_2%2Fmathematics%3Apower-series-solution-y-xy) — Mathematics, chapter 4, asked 12×
- [Series solution of x²y''+xy'+(x²−4)y=0](https://www.bctengineer.com/question.md?key=semester_2%2Fmathematics%3Aseries-solution-x2y-xy-x2) — Mathematics, chapter 4
