section_path: Types/Associative learning/Operant conditioning
section_name: Operant conditioning
paragraph_text: Operant conditioning
  
  Operant conditioning is a way in which behavior can be shaped or modified according to the desires of the trainer or head individual. Operant conditioning uses the thought that living things seek pleasure and avoid pain, and that an animal or human can learn through receiving either reward or punishment at a specific time called trace conditioning. Trace conditioning is the small and ideal period of time between the subject performing the desired behavior, and receiving the positive reinforcement as a result of their performance. The reward needs to be given immediately after the completion of the wanted behavior.
  
  Operant conditioning is different from classical conditioning in that it shapes behavior not solely on bodily reflexes that occur naturally to a specific stimulus, but rather focuses on the shaping of wanted behavior that requires conscious thought, and ultimately requires learning.
  
  Punishment and reinforcement are the two principal ways in which operant conditioning occurs. Punishment is used to reduce unwanted behavior, and ultimately (from the learner's perspective) leads to avoidance of the punishment, not necessarily avoidance of the unwanted behavior. Punishment is not an appropriate way to increase wanted behavior for animals or humans. Punishment can be divided into two subcategories, positive punishment and negative punishment. Positive punishment is when an aversive aspect of life or thing is added to the subject, for this reason it is called positive punishment. For example, the parent spanking their child would be considered a positive punishment, because a spanking was added to the child. Negative punishment is considered the removal of something loved or desirable from the subject. For example, when a parent puts his child in time out, in reality, the child is losing the opportunity to be with friends, or to enjoy the freedom to do as he pleases. In this example, negative punishment is the removal of the child's desired rights to play with his friends etc.
  
  Reinforcement on the other hand is used to increase a wanted behavior either through negative reinforcement or positive reinforcement. Negative reinforcement is defined by removing an undesirable aspect of life, or thing. For example, a dog might learn to sit as the trainer scratches his ears, which ultimately is removing his itches (undesirable aspect). Positive reinforcement is defined by adding a desirable aspect of life or thing. For example, a dog might learn to sit if he receives a treat. In this example the treat was added to the dog's life.