Safekipedia
EquationsInverse functionsUnification (computer science)

Equation solving

Adapted from Wikipedia · Adventurer experience

An animation showing how Newton's method helps find solutions to equations by moving closer to the answer step by step.

In mathematics, solving an equation means finding the values that make the equation true. Equations have two parts connected by an equals sign, and often include one or more variables that we don't know yet. These unknown values are called solutions. When we find a solution, we replace the unknown variables with numbers or expressions that make both sides of the equation equal.

An example of using Newton–Raphson method to solve numerically the equation f(x) = 0

For example, in the equation x + y = 2, if we know y is 1, we can solve for x by saying x = 1. This works because 1 + 1 equals 2. Sometimes, equations can have many solutions. In the equation x + y = 2, any pair of numbers that add up to 2, like x = 0 and y = 2 or x = 1.5 and y = 0.5, are solutions.

Solving equations can be done in different ways. We can solve them numerically, meaning we find actual numbers that work. Or we can solve them symbolically, meaning we find expressions that show the relationship between unknowns. Both methods help us understand how different values are connected and are important tools in many areas of math and science.

Overview

In math, solving an equation means finding the numbers that make it true. An equation has two parts connected by an equals sign. We look for numbers to fill in the mystery spots, called unknowns.

For example, in the equation 3x + 2y = 21z, x, y, and z are unknowns. There are many answers, not just a few. One simple answer is x = 0, y = 0, z = 0. Other answers include x = 3, y = 6, z = 1 and x = 8, y = 9, z = 2. All these answers lie on a flat surface, or plane, in three-dimensional space.

Solution sets

Main article: Solution set

The solution set of an equation is all the values that make the equation true. For example, in the equation x2 = 2, there are two answers: √2 and –√2.

When equations have more letters than numbers, there can be many answers. These answers can sometimes be shown as shapes like lines or planes.

Methods of solution

The way we solve equations depends on what the equation looks like and what values the unknowns can be. There are many kinds of equations, so there are many ways to solve them. Sometimes, we might not know how to solve an equation, and it could take a long time to find a solution.

For some equations, we can use computer programs to help us find answers. But we can also solve equations with just a pencil and paper. In some cases, we can try different values to see what works.

One common way to solve simple equations is by using basic algebra. For example, equations like 8x + 7 = 4x + 35 or (4x + 9)/(3x + 4) = 2 can be solved with algebra. Bigger groups of equations can also be solved with algebra or special methods.

For equations with higher powers, like x^4 - 5x^3 + 6 = 0, we can sometimes find exact answers using special algebra tricks. But for even higher powers, we often use numerical methods, which give us answers that are very close to the right one.

We can also solve equations by using inverse functions. For example, if we have an equation like h(x) = c, we can sometimes find the answer by using the inverse of the function h. This works for functions like square roots and logarithms.

Another method is to change the equation so it can be split into simpler parts. For example, an equation like tan(x) + cot(x) = 2 can be changed and solved by finding the values of x that make it true.

For harder equations, we can use numerical methods. These are like step-by-step guesses that get closer and closer to the right answer. These methods are useful when simple algebra does not work.

Main article: Solving polynomial equations

See also: System of polynomial equations

This article is a child-friendly adaptation of the Wikipedia article on Equation solving, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.