Image Markup Questions: Refresh Basics in V18 Binary Operators

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the use of binary operators in image markup, specifically focusing on the operator denoted as ":)". Participants clarify that this operator is defined as a function f(a, b) = 7a + 5b + 8, while another function g(a, b) = a + 6b is also introduced. The calculations involving these operators are demonstrated, leading to the conclusion that g(f(2, 3), 4) results in 61. The conversation highlights the need for a refresher on binary operators and their applications in mathematical expressions.

PREREQUISITES
  • Understanding of binary operators and their definitions
  • Familiarity with function notation and infix vs. prefix notation
  • Basic algebraic manipulation skills
  • Knowledge of composite functions and their evaluations
NEXT STEPS
  • Research the properties and applications of binary operators in programming languages
  • Learn about function composition and its significance in mathematics
  • Explore advanced mathematical notation and its usage in computer science
  • Study the differences between infix and prefix notation in various programming contexts
USEFUL FOR

Mathematicians, computer scientists, educators, and students seeking to deepen their understanding of binary operators and function notation in mathematical contexts.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
Screenshot 2021-11-28 at 7.58.34 PM~2.png

image due markup questions

ok i tried to find the ?? binary operater on this but couldn't find on the given list of formats. also still need a primer on these since the last time i did a few of these was 6 years ago! don't think its a hard problem just need to refresh the basics
 
Last edited:
Mathematics news on Phys.org
karush said:
i tried to find the ?? binary operater on this
I am not sure what you mean by ?? and by "on this". "Operator" is spelled with "o".

karush said:
but couldn't find on the given list of formats.
I am not sure what you mean by formats.

A binary operator is a function of two arguments. The difference is that function applications are usually written in prefix notation: $f(x, y)$, while operators use infix notation: $x\mathop{f}y$.
 
well the format here is 7a+5b+8
yes I saw the f(x,y) notation but I also saw a?b= notation

ok I assume the binary operator here is addition or $\oplus$ since we are adding
but I do not know what a and b is

why are they giving (a*b)=a+6b

but then it asks (2$\oplus$3)*4=
[(7(2)+5(3)+8]*4=148

or am I all botched on this
 
Last edited:
karush said:

image due markup questions

ok i tried to find the ?? binary operater on this but couldn't find on the given list of formats. also still need a primer on these since the last time i did a few of these was 6 years ago! don't think its a hard problem just need to refresh the basics
You are making a mountain out of a molehill.

2 :) 3 = 7(2) + 5(3) + 8 = 14 + 15 + 8 = 37

What's 37*4?

-Dan
 
topsquark said:
You are making a mountain out of a molehill.

2 :) 3 = 7(2) + 5(3) + 8 = 14 + 15 + 8 = 37

What's 37*4?

-Dan
148yes but it also said a*b=a+6b see spoiler in OP so is it 37{2+6{3}}=
so the operator is a :) ?
 
karush said:
well the format here is 7a+5b+8
When a function $f$ is defined by an equation $f(a,b)=e$, I've never seen the expression $e$ referred to as "format".

karush said:
ok I assume the binary operator here is addition or ⊕\oplus since we are adding
but I do not know what a and b is
One binary operator is called :). You can as well call it $f$, $\varphi$ or smiley_face. The name is completely irrelevant. Let's go with $f$. The definition $a\;: )\;b=7a+5b+8$ is equivalent to $f(a,b)=7a+5b+8$. Similarly, the second function (let's call it $g$) is defined as $g(a,b)=a+6b$. The problem asks to find $g(f(2,3),4)$.
 
so in short we have... what we have here is a composite function of
f(a, b) or a:)b = 7a+5b+8 and g(a b) = a+6b
hence g(f(a,b),4)
so then 2 :)3 = 7(2) + 5(3) + 8 = 14 + 15 + 8 = 37
finally g(37,4) = 37+6(4)=37+24=61
 
That's correct.
 
10 more to go
but i think its sinking in
strange none of was ever mentioned in any of my textbooks
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
Replies
4
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 100 ·
4
Replies
100
Views
10K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 66 ·
3
Replies
66
Views
7K