Tricki
a repository of mathematical know-how
Add article
Navigate
Tags
Search
Forums
Help
Top level
›
What kind of problem am I trying to solve?
›
Equation-solving front page
View
Edit
Revisions
Transform equation to reach a solved pattern
Title:
*
Area of mathematics:
*
A comma-separated list of areas of mathematics to which this article applies. Use ">" to tag in a subcategory. Example: Analysis > Harmonic analysis, Combinatorics
Keywords:
A comma-separated list of keywords associated with this article. Example: free group
Used in:
A comma-separated list of examples of where this technique is used. Example: Cauchy-Schwarz inequality
Parent articles:
Order
-1
0
1
-1
0
1
Body:
[QUICK DESCRIPTION] Apply reversible transformations to the equation which give logically equivalent equations, until one side (or an important chunk) looks like a known, "solved" pattern. [GENERAL DISCUSSION] You should have reversible transformations in your formal algebra -- transformations which create logically equivalent statements. In basic algebra, adding the same formula to both sides is an example; so is multiplying by a non-zero value. You can also use some transformations which only have one-way logical implication, if you're careful. [cut]More....||For instance, squaring both sides creates an equation with more solutions than the original equation; taking the square root of both sides creates one with fewer solutions. As long as you only add spurious solutions during your transformations, you may get a superset of the true set of solutions which you can cut down by other means. Alternatively, as long as you only remove solutions, you may get a useful result if you are trying for a single solution rather than all solutions.[/cut] The core trick is to apply these transformations with the aim of arriving at a pattern which is already "solved", or at least "better". This will usually involve manipulations which introduce extra terms and complication to the equation. Unless you know what pattern the writer is aiming for, these manipulations can appear utterly unmotivated in written proofs. Try to capture all the instances of the variable you're trying to solve for or the part of the equation which is giving you trouble in the "solved pattern" side of the equation; if a few escape, the technique may still simplify your problem, but if lots escape, you won't be getting anywhere. [EXAMPLE|Completing the square] We start with an arbitrary quadratic equation: [math]2x^2 + 3x - 5 = 2[/math] The pattern we're looking for is $x^2 + 2cx + c^2$, because this equals $(x+c)^2$, and we "know" how to solve the equation $(x+c)^2=k$ by taking a square root. So, to make our equation look more like that, divide both sides by 2: [math]x^2 + \frac{3}{2}x - \frac{5}{2} = 1[/math] We want to keep all the instances of $x$ in the pattern side of the equation, so there's not much more we can do with the $\frac{3}{2}x$ term. So to match the pattern we try to make $2c$ equal $\frac{3}{2}$. This leads to $c=\frac{3}{4}$ and $c^2=\frac{9}{16}$. So add constants to both sides to make it look like the pattern: [math]\begin{align} x^2 + \frac{3}{2}x - \frac{5}{2} &= 1 \\ x^2 + 2\left(\frac{3}{4}\right)x - \frac{5}{2} &= 1 \\ x^2 + 2\left(\frac{3}{4}\right)x -\frac{5}{2} + \frac{5}{2} + \frac{9}{16} &= 1 + \frac{5}{2} + \frac{9}{16} \\ x^2 + 2\left(\frac{3}{4}\right)x + \frac{9}{16} &= \frac{16}{16} + \frac{40}{16} + \frac{9}{16} \\ x^2 + 2\left(\frac{3}{4}\right)x + \frac{9}{16} &= \frac{65}{16} \\ \end{align}[/math] We now match the pattern. We replace it with the equivalent "better" version: [math]\left(x+\frac{3}{4}\right)^2=\frac{65}{16}[/math] We take the square root and arrive at the solutions $x= - \frac{3}{4} \pm \sqrt{\frac{65}{16}}$. [EXAMPLE|The quadratic formula] Repeat the "completing the square" procedure for the generic quadratic equation, assuming non-zero $a$.[cut]More...|| [math]\begin{align} ax^2 + bx + c &= 0 \\ x^2 + \frac{b}{a}x + \frac{c}{a} &= 0 \\ x^2 + 2 \frac{b}{2a} x + \frac{c}{a} &= 0 \\ x^2 + 2 \frac{b}{2a} x + \left(\frac{b}{2a}\right)^2 + \frac{c}{a} &= \left(\frac{b}{2a}\right)^2 \\ x^2 + 2 \frac{b}{2a} x + \left(\frac{b}{2a}\right)^2 &= \left(\frac{b}{2a}\right)^2 - \frac{c}{a} \end{align}[/math] Here, we've matched the pattern. Now apply it and tidy up: [math]\begin{align} x^2 + 2 \frac{b}{2a} x + \left(\frac{b}{2a}\right)^2 &= \left(\frac{b}{2a}\right)^2 - \frac{c}{a} \\ \left(x + \frac{b}{2a}\right)^2 &= \left(\frac{b}{2a}\right)^2 - \frac{c}{a} \\ &= \frac{b^2}{(2a)^2} - \frac{c}{a} \\ &= \frac{b^2}{4a^2} - \frac{c}{a} \\ &= \frac{b^2}{4a^2} - \frac{4ac}{4a^2} \\ \left(x + \frac{b}{2a}\right)^2 &= \frac{b^2 - 4ac}{4a^2} \\ x + \frac{b}{2a} &= \pm \sqrt{\frac{b^2 - 4ac}{4a^2}} \\ x &= -\frac{b}{2a} \pm \sqrt{\frac{b^2 - 4ac}{4a^2}} \\ &= -\frac{b}{2a} \pm \frac{\sqrt{b^2 - 4ac}}{\sqrt{4a^2}} \\ &= -\frac{b}{2a} \pm \frac{\sqrt{b^2 - 4ac}}{2a} \\ &= \frac{-b\pm \sqrt{b^2 - 4ac}}{2a} \end{align}[/math] [/cut] [GENERAL DISCUSSION] There's a whole article about completing the square: [[Complete the square]]. [PREREQUISITES] Some equations in your field should have been solved. This trick applies most readily when the equation you are solving is essentially finding an inverse, where one direction is "easy" (forming a polynomial, differentiating) and you're trying to go the "hard" way (solving a polynomial, integrating). In this case there will be a list of solved equations, generated by going the "easy" way, and you are trying to tweak your equation so it looks like one of them. [EXAMPLE|Integration by parts] In general, to use integration by parts, we try to make the integral look like $\int f(x)g'(x)dx$, with $g$ known and $f'$ simple -- which is already an example of trying to rearrange to match a pattern. But the derivation of the integration by parts formulas which make that pattern "good" is also a use of this same technique. The pattern we are looking for is $fg' + f'g$, because $(fg)'=fg' + f'g$. [cut]More... || Let the unknown value of the integral be r(x). Then manipulate: [math]\begin{align} r(x) &= \int f(x)g'(x)dx \\ r(x) + \int f'(x)g(x)dx &= \int f(x)g'(x)dx + \int f'(x)g(x)dx \\ r(x) + \int f'(x)g(x)dx &= \int \left(f(x)g'(x) + f'(x)g(x)\right)dx \\ \end{align}[/math] We matched the "solved" pattern, now clean up using the Fundamental Theorem of Calculus. [math]\begin{align} r(x) + \int f'(x)g(x)dx &= \int \left(f(x)g'(x) + f'(x)g(x)\right)dx \\ &= \int (fg)'(x) dx \\ &= (fg)(x) \\ r(x) + \int f'(x)g(x)dx &= f(x)g(x) \\ r(x) &= f(x)g(x) - \int f'(x)g(x)dx \end{align}[/math][/cut] When completing the square, all the "leftovers" outside the pattern were numbers which could be reduced by arithmetic. Here, unlike when completing the square, the transformations we made left leftovers outside the pattern which don't necessarily simplify. The technique of transforming to match a pattern is only useful when the leftovers are simpler in some sense than the starting equation, and integration by parts provides a good example of that. [EXAMPLE|Row reduction] When looking at a system of linear equations in several variables -- or equivalently, an equation in matrices and vectors of the form $Mx = c$ -- there's one pattern which is clearly easy to solve, namely the identity matrix: [math]\begin{align} 1 x_0 &+ 0 x_1 &+ 0 x_2 &+ ... &+ 0 x_n &= c_0 \\ 0 x_0 &+ 1 x_1 &+ 0 x_2 &+ ... &+ 0 x_n &= c_1 \\ 0 x_0 &+ 0 x_1 &+ 1 x_2 &+ ... &+ 0 x_n &= c_2 \\ ... \\ 0 x_0 &+ 0 x_1 &+ 0 x_2 &+ ... &+ 1 x_n &= c_n \end{align}[/math] There are also several reversible transformations available in this linear algebra, which do not change the solutions of the system: multiplying an equation (row) by a nonzero constant; adding a constant multiple of a row to another row; swapping two rows. Row reduction is, simply, an algorithm which uses these transformations to make the system of equations look more and more like the desirable pattern. In fact it proceeds by "improving" one matrix entry at a time using the transformations. [cut]More...|| First row 1 is multiplied by a constant so that row 1 column 1 will become 1. Then an appropriate multiple of row 1 is added to each row below it so that the rest of column 1 will be 0. Next row 2 is multiplied by a constant so that row 2 column 2 will become 1. Then an appropriate multiple of row 2 is added to each row below it, so that column 2 is zeros from row 3 down. This is repeated until row n column n. Some descriptions stop there, with a "diagonal matrix" with zeros below and to the left of the main diagonal. But the full algorithm then clears the portion of column n above row n (by adding appropriate copies of row n, which is now in the form $x_n=k$), then the portion of column n-1 above row n-1, and so on until the identity matrix is reached. If there's a zero in a spot which should have a 1, you add another row which doesn't have a zero in that column to it before continuing.[/cut] The algorithm doesn't always get you to the identity matrix -- but the attempt is still helpful! If, during the process, there's a full column of zero coefficients, you have an irrelevant variable. If there's a full row of zeros equalling a zero constant, you had a redundant equation originally. If there's a full row of zeros equalling a nonzero constant, you have a contradictory system. [GENERAL DISCUSSION] Row reduction is an example where trying to make an equation match the desired pattern can lead to interesting results even if you can't actually make it match that pattern. This is another positive effect of this trick; sometimes trying to arrange an equation to match a pattern will cause the "weird" or interesting part of the equation to pop out at you, when you see why it can't be made to match the pattern.
This is a stub
A stub is an article that is not sufficiently complete to be interesting.
Notifications
File attachments
Changes made to the attachments are not permanent until you save this post. The first "listed" file will be included in RSS feeds.
Attach new file:
Images are larger than
640x480
will be resized. The maximum upload size is
1 MB
. Only files with the following extensions may be uploaded:
jpg jpeg gif png svg
.
Revision information
Log message:
An explanation of the additions or updates being made to help other authors understand your motivations.
Search this site:
Recent articles
View a list of all articles.
Littlewood-Paley heuristic for derivative
Geometric view of Hölder's inequality
Diagonal arguments
Finding an interval for rational numbers with a high denominator
Try to prove a stronger result
Use self-similarity to get a limit from an inferior or superior limit.
Prove a consequence first
Active forum topics
Plenty of LaTeX errors
Tutorial
A different kind of article?
Countable but impredicative
Tricki Papers
more
Recent comments
I don't think this statement
choice of the field
Incorrect Image
Article classification
Higher dimensional analogues
more