How does one represent this in math

  • Thread starter wildman
  • Start date
In summary, the conversation was discussing how to represent the conditional statement "if x is greater than or equal to a, then y equals x minus a, otherwise x equals 0" in mathematical notation. Possible solutions included using the minimum or maximum function, or the Heaviside step function.
  • #1
wildman
31
4
How does one represent this in math...

Homework Statement



How does one represent the following in mathematical notation:

if(x >= a) then y = x-a
else x=0


Homework Equations





The Attempt at a Solution


Just y= x-a will not do it because it becomes negative when x is less than a and that is not what I want...
 
Physics news on Phys.org
  • #2
wildman said:
How does one represent the following in mathematical notation:

if(x >= a) then y = x-a
else x=0

Hi wildman! :smile:

How about using min or max (or is it inf or sup :rolleyes:)? :wink:
 
  • #3


I'm not sure what you kind of notation you want. I would write that as either
[tex]y= \left(\begin{array}{c} x- a if x\ge a \\ 0 if x> a\end{array}\right [/tex]

Or as y= H(x-a)(x-a) where H(x) is the Heaviside step function.
 

1. How do you represent relationships between variables in math?

The most common way to represent relationships between variables in math is through equations. An equation is a statement that shows the equality between two mathematical expressions, typically involving one or more variables. For example, the equation y = 2x represents a linear relationship between the variables x and y, where y is equal to twice the value of x.

2. What is the difference between an expression and an equation?

An expression is a mathematical statement that contains numbers, variables, and operations, but does not have an equality sign. On the other hand, an equation is a statement that shows the equality between two expressions. In simple terms, an equation is like a balance scale, where both sides are equal, while an expression is just a list of numbers and operations.

3. How do you represent real-life situations in math?

Real-life situations can be represented in math using variables and equations. For example, if a person has $100 and spends $20 each day, the equation 100 - 20x = y can represent the amount of money the person has left after x number of days. This allows us to analyze and solve problems using mathematical methods.

4. What is the importance of using symbols and notation in math?

Symbols and notation are important in math because they allow us to represent complex concepts and ideas in a concise and standardized way. They also help us to communicate and understand mathematical equations and expressions more easily. Without symbols and notation, math would be much more difficult to understand and work with.

5. How do you represent patterns and sequences in math?

Patterns and sequences can be represented in math using various methods, such as using tables, graphs, or formulas. For example, an arithmetic sequence can be represented using the formula an = a1 + (n-1)d, where a1 is the first term, d is the common difference, and n is the term number. This allows us to find any term in the sequence without having to write out every term.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
655
  • Precalculus Mathematics Homework Help
Replies
11
Views
515
  • Precalculus Mathematics Homework Help
Replies
17
Views
992
  • Precalculus Mathematics Homework Help
Replies
10
Views
610
  • Precalculus Mathematics Homework Help
Replies
6
Views
418
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
687
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
4K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
Back
Top